graph TD
    A[Program.cs] --> B[ServiceCollectionExtensions]
    A --> C[ApplicationBuilderExtensions]
    B --> D[基础设施服务]
    B --> E[数据服务]
    B --> F[应用服务]
    B --> G[微服务]
    C --> H[异常处理]
    C --> I[环境配置]
    C --> J[基础中间件]
    C --> K[服务集成]
    C --> L[终结点]